/**
 * 
 */
package cn.antia.cep.db.hibernate.bean;

import java.io.Serializable;
import java.util.*;

import cn.antia.cep.right.*;
import cn.antia.util.GoofyIdeas;

/**
 * @author sunkeei
 *
 */
public class Resource extends TreeNode implements Serializable {
	
	private String title;
	//父结点ID
	//private Integer parentId;
	//此资源要到的URL
	private String urlLink;
	//此资源要到的URL(管理自身的URL)
	private String urlSelf;
	//此结点要执行的方法
	private String methodDisp;
	private String methodMana;
	//参数(管理自身的URL)
	private String paraSelf;
	//参数(要链接到的的URL)
	private String paraLink;
	//是否有效
	private Integer valid = new Integer(1);
	//注释
	private String comment;
	//目标框架
	private String target;
	//创建日期
	private Date createTime = GoofyIdeas.getDefaultDate();
	//修改日期
	private Date modifyTime = GoofyIdeas.getDefaultDate();
	//录入人
	private String scribeId;
	//录入人姓名
	private String scribeName;
	//修改人
	private String menderId;
	//修改人姓名
	private String menderName;
	//资源类型
	private Integer resourceType;
	//发布时链接到的URL
	private String urlTarget;
	//发布时的URL参数
	private String paraTarget;
	//赞美的话
	private String praise;
	//优先级
	private Integer pri;
	//特别资源类型
	private Integer specType = new Integer(0);
	//点击量
	private Integer clickTimes;
	
	public Integer getSpecType() {
		return specType;
	}
	public void setSpecType(Integer specType) {
		this.specType = specType;
	}
	public Integer getPri() {
		return pri;
	}
	public void setPri(Integer pri) {
		this.pri = pri;
	}
	public String getPraise() {
		return praise;
	}
	public void setPraise(String praise) {
		this.praise = praise;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public String getMenderId() {
		return menderId;
	}
	public void setMenderId(String menderId) {
		this.menderId = menderId;
	}
	public String getMenderName() {
		return menderName;
	}
	public void setMenderName(String menderName) {
		this.menderName = menderName;
	}
	public Date getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(Date modifyTime) {
		this.modifyTime = modifyTime;
	}
	public Integer getResourceType() {
		return resourceType;
	}
	public void setResourceType(Integer resourceType) {
		this.resourceType = resourceType;
	}
	public String getScribeId() {
		return scribeId;
	}
	public void setScribeId(String scribeId) {
		this.scribeId = scribeId;
	}
	public String getScribeName() {
		return scribeName;
	}
	public void setScribeName(String scribeName) {
		this.scribeName = scribeName;
	}
	public String getTarget() {
		return target;
	}
	public void setTarget(String target) {
		this.target = target;
	}
	public String getComment() {
		return comment;
	}
	public void setComment(String commit) {
		this.comment = commit;
	}
	
	/**
	 * @return the methodDisp
	 */
	public String getMethodDisp() {
		return methodDisp;
	}
	/**
	 * @param methodDisp the methodDisp to set
	 */
	public void setMethodDisp(String methodDisp) {
		this.methodDisp = methodDisp;
	}
	/**
	 * @return the methodMana
	 */
	public String getMethodMana() {
		return methodMana;
	}
	/**
	 * @param methodMana the methodMana to set
	 */
	public void setMethodMana(String methodMana) {
		this.methodMana = methodMana;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Integer getValid() {
		return valid;
	}
	public void setValid(Integer valid) {
		this.valid = valid;
	}
	public String getParaLink() {
		return paraLink;
	}
	public void setParaLink(String paraLink) {
		this.paraLink = paraLink;
	}
	public String getParaSelf() {
		return paraSelf;
	}
	public void setParaSelf(String paraSelf) {
		this.paraSelf = paraSelf;
	}
	public String getUrlLink() {
		return urlLink;
	}
	public void setUrlLink(String urlLink) {
		this.urlLink = urlLink;
	}
	public String getUrlSelf() {
		return urlSelf;
	}
	public void setUrlSelf(String urlSelf) {
		this.urlSelf = urlSelf;
	}
	public String getParaTarget() {
		return paraTarget;
	}
	public void setParaTarget(String paraTarget) {
		this.paraTarget = paraTarget;
	}
	public String getUrlTarget() {
		return urlTarget;
	}
	public void setUrlTarget(String urlTarget) {
		this.urlTarget = urlTarget;
	}
	public Integer getClickTimes() {
		return clickTimes;
	}
	public void setClickTimes(Integer clickTimes) {
		this.clickTimes = clickTimes;
	}
	
	public boolean isModify = false;
}
